Package com.cisco.pt.ipc.sim.impl
Class FifoQueueImpl
java.lang.Object
com.cisco.pt.ipc.impl.IPCObjectImpl
com.cisco.pt.ipc.sim.impl.QueueProcessImpl
com.cisco.pt.ipc.sim.impl.FifoQueueImpl
- All Implemented Interfaces:
IPCObject,FifoQueue,QueueProcess
Information provided by the PKI file:
\class CFifoQueue
\brief CFifoQueue handles and manipulates policy maps.
\example network().getDevice("Router0").getCbwfqManager().getCbwfqAt(0)
- Author:
- Auto-generated
-
Field Summary
Fields inherited from class com.cisco.pt.ipc.impl.IPCObjectImpl
accessMessage, ipcFactory, packetTracerSession -
Constructor Summary
ConstructorsConstructorDescriptionFifoQueueImpl(IPCFactory ipcFactory, PacketTracerSession packetTracerSession, IPCMessageLTV accessMessage) -
Method Summary
Modifier and TypeMethodDescriptiongetQueueAt(int i) Information provided by the PKI file:intInformation provided by the PKI file:Methods inherited from class com.cisco.pt.ipc.sim.impl.QueueProcessImpl
getQueueTypeMethods inherited from class com.cisco.pt.ipc.impl.IPCObjectImpl
getAccessMessage, getClassName, getFactory, getObjectUUID, getPacketTracerSession, sendMessage, sendMessageWithReturn, translateToCommandStatusStringPairMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.cisco.pt.ipc.IPCObject
getAccessMessage, getClassName, getFactory, getObjectUUID, getPacketTracerSessionMethods inherited from interface com.cisco.pt.ipc.sim.QueueProcess
getQueueType
-
Constructor Details
-
FifoQueueImpl
public FifoQueueImpl(IPCFactory ipcFactory, PacketTracerSession packetTracerSession, IPCMessageLTV accessMessage)
-
-
Method Details
-
getQueueCount
public int getQueueCount()Information provided by the PKI file:
\brief Returns queue count which is 1. \return int, queue count which is 1.- Specified by:
getQueueCountin interfaceFifoQueue- Returns:
- int Returns a int
-
getQueueAt
Information provided by the PKI file:
\brief Returns the queue but if i > queue count throw exception. \return Queue, the queue.- Specified by:
getQueueAtin interfaceFifoQueue- Parameters:
i- Takes in a parameter of i- Returns:
- Queue Returns a Queue
-